<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of persistenciaReclamo
 *
 * @author Agustin
 */
require_once '../Modelo/persistenciaEstado.php';

class ControladoraEstado {

    private static $instance = false;

    public static function getInstance() {
        if (!self::$instance instanceof self) {
            self::$instance = new self;
        }
        return self::$instance;
    }

    public function traerEstados() {
        try {
            return $aux = PersistenciaEstado::getInstance()->traerEstados('');
        } catch (Exception $exc) {
            echo $exc->getTraceAsString();
        }
    }

}
?>
